﻿using Newtonsoft.Json;

namespace Fadada.FASC.SDK.DotNetCore.Model
{
    public class ActorUser
    {
        /// <summary>
        /// 个人用户参与方的openUserId。对于外部参与方，此参数无效。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "actorUserId",
            Required = Newtonsoft.Json.Required.AllowNull)]
        public string ActorUserId { get; set; }

        /// <summary>
        /// 个人用户参与方的身份信息。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "userIdentInfo",
            Required = Newtonsoft.Json.Required.AllowNull)]
        public UserIdentInfo UserIdentInfo { get; set; }

        /// <summary>
        /// 个人用户参与方的补充信息，用于辅助实名认证。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "userInfoExtend",
            Required = Newtonsoft.Json.Required.AllowNull)]
        public UserInfoExtend UserInfoExtend { get; set; }
    }
}